module.exports = {
    devServer: {
        port:8080,
        host:'0.0.0.0',
        proxy: {
            // '/req': {
            //     target: 'http://106.13.16.102:8881',
            //     changeOrigin: true,
            //     pathRewrite: {
            //         '^/req': ''
            //     }
            // },
            '/req': {
                target: 'http://127.0.0.1:8881',
                changeOrigin: true,
                pathRewrite: {
                    '^/req': ''
                }
            },
            '/wb': {
                target: 'https://data.weibo.com/index/ajax/newindex',
                changeOrigin: true,
                pathRewrite: {
                    '^/wb': ''
                }
            },
            '/test': {
                target: 'https://c.m.163.com',
                changeOrigin: true,
                pathRewrite: {
                    '^/test': ''
                }
            },
        }
    },
    css: {
        loaderOptions: {
            sass: {
                
            }
        }
    }
}